package com.enation.app.javashop.api.client;

import com.enation.app.javashop.model.shop.dos.ShopNoticeLogDO;
import com.enation.app.javashop.service.shop.ShopNoticeLogManager;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import springfox.documentation.annotations.ApiIgnore;

/**
 * @author fk
 * @version v2.0
 * @Description:
 * @date 2018/8/15 10:23
 * @since v7.0.0
 */
@RestController
@RequestMapping("/client/shop-notice-log")
@ApiIgnore
public class ShopNoticeLogClientController {

    @Autowired
    private ShopNoticeLogManager shopNoticeLogManager;

    @PostMapping
    public ShopNoticeLogDO add(@RequestBody ShopNoticeLogDO shopNoticeLog) {
        return shopNoticeLogManager.add(shopNoticeLog);
    }

}
